// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'

import {AlertPlugin} from 'vux'
import App from './App'
import router from './router'

Vue.config.productionTip = false

import store from "./store.js";

// alert
Vue.use(AlertPlugin);

// 配置http请求
import axios from "axios"
Vue.prototype.http = axios;

import layer from 'vue-layer'
Vue.prototype.layer = layer(Vue);
/* eslint-disable no-new */
new Vue({
  el: '#app',
  store,
  router,
  template: '<App/>',
  components: { App }
})
